package main

import (
	"go-graduation/bff/cmd/cfg"
	"go-graduation/bff/cmd/server/rpc"
	"log"
)

func init() {
	_, err := cfg.ReadConfig("/Users/itxiaoq/apps/go-graduation/bff/config/config.yaml")
	//_, err := cfg.ReadConfig("E:/wwwroot/go/go-graduation/bff/config/config.yaml")
	if err != nil {
		log.Fatalf("配置文件错误：%s", err.Error())
	}
}

func main() {
	rpc.ListenServer()
}
